Skip to content

Accept untyped indextable containers in grid constructors#34

Merged
SamuelBadr merged 1 commit intomainfrom
fix-issue-31-indextable-types
Feb 13, 2026
Merged

Accept untyped indextable containers in grid constructors#34
SamuelBadr merged 1 commit intomainfrom
fix-issue-31-indextable-types

Conversation

@SamuelBadr
Copy link
Copy Markdown
Member

Summary

  • relax DiscretizedGrid and InherentDiscreteGrid index-table constructor signatures to accept generic vectors
  • normalize index table entries into Vector{Vector{Tuple{Symbol,Int}}} with explicit validation and clear errors
  • add a regression test for indextable = [] plus incremental push! construction

Closes #31.

@SamuelBadr SamuelBadr merged commit 93d93a9 into main Feb 13, 2026
3 checks passed
@SamuelBadr SamuelBadr deleted the fix-issue-31-indextable-types branch February 13, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

indextable doesn't work if types don't match exactly

1 participant